//
//  ServiceAgreementViewController.h
//  NetMobileLocation
//
//  Created by Mehmet Sinan Şahin on 4/15/12.
//  Copyright (c) 2012 netgis. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ServiceAgreementWindowClose <NSObject>

-(void) aggrementClose:(BOOL)acceptance;

@end

@interface ServiceAgreementViewController : UIViewController {
    IBOutlet UIBarButtonItem *btnAccept;
    IBOutlet UIBarButtonItem *btnReject;    
    IBOutlet UINavigationItem *navItem;
    IBOutlet UIWebView *webView;
    
    BOOL forStartup;
    id<ServiceAgreementWindowClose> closeCallbackTarget;

}

@property (nonatomic, assign) BOOL forStartup;

-(IBAction)accept:(id)sender;
-(IBAction)reject:(id)sender;
- (void) setCloseCallbackTarget: (id) target;


@end
